import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/home/index.vue'
import FooterNav from '@/components/FooterNav.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    components: {
      default: Home,
      foot: FooterNav
    }
  }
]

const router = new VueRouter({
  routes
})

export default router
